#pragma once
#include "Control.h"

class GUI_API CColor :	public CControl
{
public:
	CColor(){};
	CColor(UINT nID);
	CColor(wstring strCaption,UINT nID);
	CColor(DWORD dwStyle, wstring strCaption,const CRect &rc, UINT nID);
	CColor(DWORD dwStyle, wstring strCaption, int x, int y, int cx, int cy, UINT nID);
	virtual ~CColor(void);

public:
	inline void SetColor(COLORREF clrRef)
	{
		m_clrForeground = clrRef;
	}

private:
	COLORREF m_clrForeground;

protected:
	void InitColor();
	virtual void Paint(CDC* pDC);
};
